/*
* This file is the main code of Matedi
* Copyright (C) <2020>  <alkeon> [alkeon@autistici.org]
   
* Matedi is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Matedi is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Matedi.  If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __FOLDER__
#define __FOLDER__
#include <iostream>
#include <filesystem>
#include <string>
#include <vector>
using namespace std;
using namespace filesystem;
struct folder{
	folder(string path);

	folder();
	~folder();
	void get_dot_matedi_config(string dot_matedi_path);
	void convert();
	string load_file(string path);

	folder& operator =(const folder& P);
	
	string path;
	string _dot_matedi_path, _header_path, _end_path;
	vector<string> _clear, _header_only, _end_only;

};
#endif
